<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:70:"/var/www/html/tp5/public/../application/mobile/view/Newmore/index.html";i:1529474701;s:58:"/var/www/html/tp5/application/mobile/view/Index/index.html";i:1530184607;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="icon" href="/static/mobile/image/favico.ico">
    <!-- <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"> -->
    <link href="/static/mobile/css/bootstrap.min.css.map" rel="stylesheet"/>
    <link href="/static/mobile/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="/static/mobile/css/bootstrap-theme.min.css" rel="stylesheet"/>
    <link href="/static/mobile/css/bootstrap-theme.min.css.map" rel="stylesheet"/>
    <script src="https://y.gtimg.cn/music/h5/player/player.js?max_age=2592000" ></script>
    <meta name="qqmusic-set" content="share=0">
    <style>
        a {
            text-decoration: none;
        }
        li {
            list-style: none;
        }
        .nav-top {
            height: 115px;
            border-bottom: 2px solid #BCBCBC;
        }

        .nav-logo {
            height: 60px;
            margin-top: 30px;
            /*background-size:80px 80px;*/
            /*background:url("/static/index/image/logo.png") no-repeat;*/
        }

        .nav-chick input {
            height: 60px;
            margin-top: 32px;

        }

        .nav-chick button {
            height: 60px;
            width: 60px;
            margin-top: 32px;
            margin-left: -10px;
        }

        .nav-login {
            height: 60px;
            margin-top: 35px;
            font-size: 40px;
        }

        .nav-type {
            height: 60px;
            font-size: 40px;
            margin-top: 15px;
        }

        .nav-type ul {
            list-style: none;
        }

        .nav-new {
            font-size: 45px;
            margin-bottom: 30px;
        }

        .nav-movie {
            margin-top: 15px;
        }

        .nav-movie p {
            margin-top: 5px;
            font-size: 40px;
        }

        .nav-movie span {
            font-size: 30px;
            color: goldenrod;
        }

        .nav-score {
            font-size: 45px;
        }
        input::-webkit-input-placeholder { /* WebKit browsers */
color:#999;font-size:25px;
}
    </style>
</head>
<body>

<div class="col-xs-12">
    <div class="nav-top col-xs-12">
        <a href="<?php echo url('index/index/index'); ?>">
            <div class="nav-logo col-xs-4">
                <img src="/static/index/image/logo.png" alt="" height="60">
            </div>
        </a>

        <div class="nav-chick col-xs-5">
            <form action="<?php echo url('search'); ?>" method="get">
                <div class="form-group col-xs-9"><input class="form-control" name="keyword" maxlength="10" placeholder="搜索电影" style="font-size: 30px;" value=""></div>
                <button class="btn btn-default col-xs-3"><span class="glyphicon glyphicon-search"></span></button>
            </form>
        </div>

        <div class="nav-login col-xs-3">

            <?php if(!empty(\think\Session::get('name'))): ?>

                        <a href="<?php echo url('mobile/User/index'); ?>" style="text-decoration: none;color: #46bc99;">主页</a>
                    <a href="<?php echo url('mobile/Login/logOut'); ?>" style="text-decoration: none;color: #46bc99;">注销</a>


            <?php elseif(empty(\think\Session::get('name'))): ?>
            <a href="<?php echo url('mobile/Login/index'); ?>" class="nav-login" rel="nofollow" style="text-decoration: none;color: #46bc99;">登录</a>
            <a href="<?php echo url('mobile/Register/index'); ?>" class="nav-register" rel="nofollow" style="text-decoration: none;color: #46bc99;">注册</a>
            <?php endif; ?>
        </div>

    </div>

    <div class="nav-type col-xs-12">
        <ul class="col-xs-12">
            <li class="col-xs-3"><a href="<?php echo url('mobile/Index/type', ['id'=>'1']); ?>" style="text-decoration: none;color: #46bc99;">华语</a>
            </li>
            <li class="col-xs-3"><a href="<?php echo url('mobile/Index/type', ['id'=>'2']); ?>" style="text-decoration: none;color: #46bc99;">欧美</a>
            </li>
            <li class="col-xs-3"><a href="<?php echo url('mobile/Index/type', ['id'=>'3']); ?>" style="text-decoration: none;color: #46bc99;">韩国</a>
            </li>
            <li class="col-xs-3"><a href="<?php echo url('mobile/Index/type', ['id'=>'4']); ?>" style="text-decoration: none;color: #46bc99;">日本</a>
            </li>
        </ul>
    </div>

    
<div>
    <div class="nav-new col-xs-12">
        <div class="col-xs-10">影院热映</div>
        <?php foreach($data as $v): ?>
        <div class="nav-movie col-xs-4">
            <a href="<?php echo url('show', ['id'=>$v['id']]); ?>">
                <img src="../../../../../uploads/<?php echo $v['cover']; ?>" alt="" height="350">
                <p class="col-xs-12" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"><?php echo $v['mname']; ?></p>
                <span class="col-xs-12"><?php echo $v['score']; ?>分</span>
            </a>
        </div>
        <?php endforeach; ?>
    </div>
</div>

</div>
<script>
	// 初始化播放组件
var player = new QMplayer({ target: "auto" }); // 设置 target=music 时会拉起QQ音乐客户端进行播放

// 播放歌曲
player.play("003UBdiz0uPjxw");

// 监听事件
player.on("play", function () { })

// 支持的方法：play、pause、toggle、playReady、on、off
// 支持的事件：play、pause、ended、timeupdate、waiting、error

</script>

</body>
</html>